package xyz.bali16.module.article.model.comment;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.bali16.application.core.model.UserVo;
import xyz.bali16.application.model.PageParam;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("评论分页查询参数")
public class CommentPageParam extends PageParam {

    @ApiModelProperty(name = "id", value = "", required = false)
    private String id;
    @ApiModelProperty(name = "entityType", value = "目标类型", required = false)
    private Integer entityType;
    @ApiModelProperty(name = "实体id", value = "比如首层回复/回复中回复 取决于entityType", required = false)
    private String entityId;
    @ApiModelProperty(name = "targetId", value = "最终评论落实者", required = false)
    private String targetId;
    @ApiModelProperty(name = "userId", value = "用户id 0为所有人", required = false)
    private String userId;
    @ApiModelProperty(name = "status", value = "0 关闭 1已发布", required = false)
    private Integer status;
    //private UserVo userVo;
}
